package com.heying.springcore.old;

public class Story {

    public static void main(String[] args) {
        Driver driver = new Driver("汤师傅", 44);
        Driver driver2 = new Driver("刘师傅", 33);
//        driver.drive();
//        driver2.drive();

        Car car = new Car("法拉利", "红色", 3000000);
        Tank tank = new Tank("中式", "绿色", 100000000);
        driver.drive(tank);
    }
}
